INCLUDE(${QT_USE_FILE})

SET(DVALIN_SRCS
  about_dvalin.cxx
  canvas_layout_manager.cxx
  canvas_to_datamap.cxx
  data_compute_engine.cxx
  data_label_manager.cxx
  data_label_widget.cxx
  data_selector_widget.cxx
  data_object.cxx
  dvalin.cxx
  graph_canvas.cxx
  histogram_selector_widget.cxx
  io.cxx
  main_window.cxx
  plot_properties.cxx
  popup_info_widget.cxx
  property_widgets.cxx
  settings.cxx
  settings_widget.cxx
  tick_label_manager.cxx
  utilities.cxx
)

SET(DVALIN_MOC_HDRS
  canvas_layout_manager.h
  data_label_widget.h
  data_selector_widget.h
  graph_canvas.h
  histogram_selector_widget.h
  io.h
  main_window.h
  property_widgets.h
  settings.h
  settings_widget.h
)

SET(DVALIN_ICONS
  icons.qrc
)
  
QT4_WRAP_CPP(DVALIN_MOCS ${DVALIN_MOC_HDRS})
QT4_ADD_RESOURCES (DVALIN_SRCS ${DVALIN_ICONS})
ADD_EXECUTABLE(dvalin ${DVALIN_SRCS} ${DVALIN_MOCS} ) 
TARGET_LINK_LIBRARIES(dvalin ${CMAKE_LD_FLAGS} ${STLPORT_LIBS} 
  ${QT_LIBRARIES} ${BOOST_LIBS}) 

